﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SwaggerSdk
{
    public class LoginReq
    {
        /// <summary>
        /// 账号
        ///</summary>
        /// <example>superAdmin</example>
        public string Account { get; set; }

        /// <summary>
        /// 密码【传入的是32位md5密码】
        ///</summary>
        ///<example>传入的是32位md5密码</example>
        public string Password { get; set; }
    }

    /// <summary>
    /// 登录返回参数
    /// </summary>
    public class LoginRsp
    {
        /// <summary>
        /// 令牌Token
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
    }

}
